import request from '@/utils/request'
import base from '@/api/base'

/**
 *  @获取岗位列表
 */
export function getCurrentUserList() {
    return request({
        method: 'get',
        url: base.WU + '/trajectory'
    })
}
/**
 *  @获取岗位列表
 */
export function getAllPointsByTag(ids =[]) {
    return request({
        method: 'post',
        url: base.WU + '/trajectory',
        data: ids
    })
}

/**
 *  @获取历史轨迹
 */
export function getTackHistoryByTag(data) {
    return request({
        method: 'post',
        url: base.WU + '/trajectory/history',
        data
    })
}




